package com.asset.crm.shared;

import java.io.Serializable;

import com.google.gwt.user.client.ui.RadioButton;

public class SkuDTO implements Serializable,Comparable<SkuDTO> {
private String id;
private String skuName;
private String code;
private String quantity;
private String price;
private String sale;
//private RadioButton radioButton;
//public RadioButton getRadioButton() {
//	return radioButton;
//}
//public void setRadioButton(RadioButton radioButton) {
//	this.radioButton = radioButton;
//}
public String getId() {
	return id;
}
public void setId(String id) {
	this.id = id;
}
public String getSkuName() {
	return skuName;
}
public void setSkuName(String skuName) {
	this.skuName = skuName;
}
public String getCode() {
	return code;
}
public void setCode(String code) {
	this.code = code;
}
public String getQuantity() {
	return quantity;
}
public void setQuantity(String quantity) {
	this.quantity = quantity;
}
public String getPrice() {
	return price;
}
public void setPrice(String price) {
	this.price = price;
}
public String getSale() {
	return sale;
}
public void setSale(String sale) {
	this.sale = sale;
}
@Override
public int compareTo(SkuDTO o) {
	// TODO Auto-generated method stub
	return Integer.parseInt(this.id)-Integer.parseInt(o.getId());
}
}
